<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workorder_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-workorder_id" data-rule="required" data-source="workorder/index" class="form-control selectpage" name="row[workorder_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planlog_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-planlog_id" data-rule="required" data-source="planlog/index" class="form-control selectpage" name="row[planlog_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Md5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-md5" class="form-control" name="row[md5]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yuqi')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-yuqi" data-rule="required" class="form-control selectpicker" name="row[yuqi]">
                {foreach name="yuqiList" item="vo"}
                    <option value="{$key}" {in name="key" value="未逾期"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Demanddate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-demanddate" class="form-control" name="row[demanddate]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Productnumber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-productnumber" class="form-control" name="row[productnumber]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Productname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-productname" class="form-control" name="row[productname]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Requisitiondate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-requisitiondate" class="form-control" name="row[requisitiondate]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Requisitionquantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-requisitionquantity" class="form-control" step="0.01" name="row[requisitionquantity]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhidingjiean')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-zhidingjiean" data-rule="required" class="form-control selectpicker" name="row[zhidingjiean]">
                {foreach name="zhidingjieanList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchasedate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchasedate" class="form-control" name="row[purchasedate]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchasequantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchasequantity" class="form-control" name="row[purchasequantity]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yujiaori')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yujiaori" class="form-control" name="row[yujiaori]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jinhuoshuliang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jinhuoshuliang" class="form-control" name="row[jinhuoshuliang]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Acceptancedate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-acceptancedate" class="form-control" name="row[acceptancedate]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rejectedquantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rejectedquantity" class="form-control" name="row[rejectedquantity]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batchnumber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-batchnumber" class="form-control" name="row[batchnumber]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inspectionhours')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inspectionhours" class="form-control" name="row[inspectionhours]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jinhuoriqi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jinhuoriqi" class="form-control" name="row[jinhuoriqi]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jianyanzhuangtaima')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jianyanzhuangtaima" class="form-control" name="row[jianyanzhuangtaima]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
